#include <stdio.h>
#include <stdlib.h>

int main()
{
	char a[10] = {0};
	printf("input:\n");
	a[0] = getchar();

	printf("stdin:\n%s\nsizeof(stdin) = %d\n",stdin,sizeof(stdin));
	printf("a[0] = 0x%x\n",a[0]);
    
	a[1] = getchar();

	printf("a[1] = 0x%x\n",a[1]);
	printf("a[2] = 0x%x\n",a[2]);
	printf("%s\n",stdin);

	system("pause");

	return 0;
}